//
//  GHHomeDataController.h
//  GodHorses
//
//  Created by Mac on 2017/11/14.
//  Copyright © 2017年 stoneobs@icloud.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GHShopBanerModel.h"
#import "GHNewsModel.h"
#import "GHGoodModel.h"
#import "GHVideoModel.h"
#import "GHHomeTableData.h"
/************首页数据控制******************/
@interface GHHomeDataController : NSObject
//获取banner
+ (void)fetch_BannerDataWithHandle:(void(^)(NSArray <NSString*>* banners,NSString*section1Image,NSString*section2Image, STError * error)) handle;
//获取新闻
+ (void)fetch_NewsDataWithHandle:(void(^)(NSArray <GHNewsModel*>* news,STError * error)) handle;
//获取视屏
+ (void)fetch_videoDataWithHandle:(void(^)(GHVideoModel * video,STError * error)) handle;
//获取tableView数据
+ (void)fetch_tableViewDataWithHandle:(void(^)(GHHomeTableData *tableData,STError * error)) handle;
//获取collection商品
+ (void)fetch_collectionView_goodsWithPage:(NSInteger)page Handle:(void(^)(NSArray <GHGoodModel*>* news,STError * error)) handle;
@end
